﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.FAS.Runtime.Metadata.Entity.DataModel;

namespace T.FAS.Runtime.DataAccess.SQLDom
{
    /// <summary>
    /// 查询过滤条件
    /// </summary>
    [Serializable]
    public class AggregateClause
    {
        /// <summary>
        /// 应用的聚合函数类型
        /// </summary>
        public AggregateType AggregateType { get; set; }

        public FilterField FilterField { get; set; }

        /// <summary>
        /// 是否应用count(*)
        /// </summary>
        public bool IsSelectAll { get; set; }

    }
}
